import {
	http
} from "@/uni_modules/uview-plus";

// 提现
export const withdrawal = (data) => {
	return http.post("/api/delivery/withdraw/apply", data);
};

// 提现记录
export const withdrawalRecord = (params) => {
	return http.get("/api/delivery/withdraw", {
		params
	});
};

// 佣金记录
export const walletRecord = (params) => {
	return http.get('/api/delivery/account', {
		params
	});
}